/**
 * 筛选配置
 * 操作日志 operate-log
 */
const selectConfig = {
  'operate-log': [
    {
      type: 'select-input',
      name: '操作人',
      prop: 'loginName',
      selectStyle: { width: '180px' },
      selectConfig: {
        clearable: true,
        placeholder: '请输入操作人',
        iconConfig: {
          type: 'suffix',
          icon: 'el-icon-search',
          isClick: true,
          style: { cursor: 'pointer' }
        }
      },
      defaultConfig: {
        value: ''
      }
    },
    {
      type: 'select-input',
      name: '操作事件',
      prop: 'operationEvent',
      selectStyle: { width: '180px' },
      selectConfig: {
        clearable: true,
        placeholder: '请输入操作事件',
        iconConfig: {
          type: 'suffix',
          icon: 'el-icon-search',
          isClick: true,
          style: { cursor: 'pointer' }
        }
      },
      defaultConfig: {
        value: ''
      }
    },
    {
      type: 'select-date-picker',
      name: '操作时间',
      prop: ['operationTmStart', 'operationTmEnd'],
      selectStyle: { width: '376px' },
      selectConfig: {
        type: 'daterange',
        clearable: true,
        hasPickerOptions: true,
        iconConfig: {
          type: 'suffix',
          icon: 'el-icon-search',
          isClick: true,
          style: { cursor: 'pointer' }
        }
      },
      defaultConfig: {
        operationTmStart: '',
        operationTmEnd: ''
      }
    }
  ]
}

export default {}
export { selectConfig }
